﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="AirtightnessStisticbyDT.aspx.cs" Inherits="ProductAirtightness_AirtightnessView_AirtightnessStisticbyDT"
    Title="无标题页" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div>
                <br />
                <table style="vertical-align: top; width: 80%">
                    <tr>
                        <td style="vertical-align: text-top; height: 45px;">
                            选择日期：
                        </td>
                        <td style="height: 45px; vertical-align: text-top;">
                            <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True"></asp:TextBox>
                            <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" Enabled="True"
                                TargetControlID="TextBox1">
                            </asp:CalendarExtender>
                        </td>
                        <td style="vertical-align: text-top; height: 45px;">
                            选择班次：
                        </td>
                        <td style="vertical-align: text-top; height: 45px;">
                            <asp:DropDownList ID="DropDownList1" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td style="vertical-align: text-top; height: 45px;">
                            &nbsp; &nbsp;&nbsp;
                            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查  询" />
                        </td>
                    </tr>
                </table>
                <br />
                <div style="float: left; clear: left; width: 100%">
                    <br />
                    <asp:Label ID="Label5" runat="server" Text="查询结果：" Width="162px"></asp:Label>
                    <br />
                    <br />
                    <asp:GridView ID="GridView1" runat="server" CellPadding="3" 
                        GridLines="None" AutoGenerateColumns="False" BackColor="White" BorderColor="White"
                        BorderStyle="Ridge" BorderWidth="2px" CellSpacing="1" EmptyDataText="没有相关数据"
                        AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" Width="100%"
                        PageSize="20">
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <Columns>
                            <asp:BoundField DataField="ProductTypeID" HeaderText="产品类型" />
                            <asp:BoundField DataField="Quantity" HeaderText="合格数" />
                            <asp:BoundField DataField="Total" HeaderText="测试数" />
                            <asp:BoundField DataField="Quantity1" HeaderText="合格率" />
                        </Columns>
                        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    </asp:GridView>
                    <br />
                    <br />
                    <br />
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
